package com.ssfGame.puremvc.controller 
{
	
	import com.ssfGame.puremvc.model.ConfigProxy;
	import com.ssfGame.puremvc.model.LoadProxy;
	import com.ssfGame.puremvc.model.vo.ConfigVO;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	/**
	 * 
	 * @author chery
	 */
	public class ModelPrepCommand extends SimpleCommand
	{
		/**
		 * 预注册model
		 */
		public function ModelPrepCommand()
		{
			super();
		}
		override public function  execute(notification:INotification):void{
			facade.registerProxy(new ConfigProxy(ConfigProxy.NAME,new ConfigVO()));
			facade.registerProxy(new LoadProxy(LoadProxy.NAME));
		}
	}
}